RefactoringScript: A Script and Its Processor for Composite Refactoring

نویسندگان

  • Linchao Yang
  • Tomoyuki Kamiya
  • Kazunori Sakamoto
  • Hironori Washizaki
  • Yoshiaki Fukazawa
چکیده

Refactoring is widely recognized as a method to improve the internal qualities of source code. However, manual refactoring is time-consuming and error-prone. Consequently, many tools to support automated refactoring have been suggested, but most support only unit and simple refactoring, making it difficult to perform composite refactoring (e.g., introducing a design pattern) where a refactoring set is applied at one position or the same refactoring operation is applied at multiple positions. In this paper, we propose a novel script language and its processor to describe how and where to refactor by a model expressing source code*. Evaluations indicate that our language and processor allow refactoring steps to be described as scripts, which can be easily replayed and reused for multiple projects.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Domain-Specific Language for Scripting Refactorings in Erlang

Refactoring is the process of changing the design of a program without changing its behaviour. Many refactoring tools have been developed for various programming languages; however, their support for composite refactorings – refactorings that are composed from a number of primitive refactorings – is limited. In particular, there is a lack of powerful and easy-to-use frameworks that allow users ...

متن کامل

The History of Uighur script and calligraphy in Persian manuscripts

  Abstract After Mongol invasion into Iranian plateau new cultural elements entered by the invaders which influenced on some aspects of Persian book art. Uighur script which first was used to write Mongol and then eastern Turkish languages, appeared in Persian Manuscripts which were produced for Timurid governors and some of famous works are remained from Yazd, Herat, Guilan and Shiraz. These...

متن کامل

Towards Formal Proof Script Refactoring

We propose proof script refactorings as a robust tool for constructing, restructuring, and maintaining formal proof developments. We argue that a formal approach is vital, and illustrate by defining and proving correct a number of valuable refactorings in a simplified proof script and declarative proof language of our own design.

متن کامل

Paraphrasing: Generating Parallel Programs Using Refactoring

Refactoring is the process of changing the structure of a program without changing its behaviour. Refactoring has so far only really been deployed effectively for sequential programs. However, with the increased availability of multicore (and, soon, manycore) systems, refactoring can play an important role in helping both expert and non-expert parallel programmers structure and implement their ...

متن کامل

تأثیر خط کوفی بر خط کوفی بنایی و تحول آن تا آرم‌نویسی‌های امروز

Square or geometric Kufic (also known as banna’i) developed from the Kufic script and consists of repeating vertical, horizontal, and parallel geometric units on a geometric network called a grid. Due to its unique visual characteristics and its close association with architecture, it is very promising for use in contemporary arts. This paper presents a research on contributing factors to...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014